﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLine.Common;
using ZoneLine.Views;

namespace ZoneLine.Models
{
    public class HStationResultBase : StationResultBase
    {
        private string _stationCode;
        /// <summary>
        /// 工位编号
        /// </summary>
        [DgColumnAttr("工位编号", Index = 3)]
        public string StationCode { get { return _stationCode; } set => SetProperty(ref _stationCode, value); }

        private string _partType;
        /// <summary>  
        /// 产品型号  
        /// </summary>  
        [DgColumnAttr("产品型号", Index = 4)]
        public string PartType
        {
            get { return _partType; }
            set { SetProperty(ref _partType, value); } // 假设 SetProperty 方法存在  
        }

        private string _result;
        /// <summary>  
        /// 结论  
        /// </summary>  
        [DgColumnAttr("结论", Index = 5)]
        public string Result
        {
            get { return _result; }
            set { SetProperty(ref _result, value); } // 假设 SetProperty 方法存在  
        }

        private float _cycleTime;
        /// <summary>  
        /// 循环时间  
        /// </summary>  
        [DgColumnAttr("循环时间", Index = 6)]
        public float CycleTime
        {
            get { return _cycleTime; }
            set { SetProperty(ref _cycleTime, value); } // 假设 SetProperty 方法存在并支持float类型  
        }

        private string _bushScanCode;
        /// <summary>  
        /// 衬套批次  
        /// </summary>  
        [DgColumnAttr("衬套批次", Index = 7)]
        public string BushScanCode
        {
            get { return _bushScanCode; }
            set { SetProperty(ref _bushScanCode, value); } // 假设 SetProperty 方法存在  
        }

        private float _pressPosition;
        /// <summary>  
        /// 压机位置  
        /// </summary>  
        [DgColumnAttr("压机位置")]
        public float PressPosition
        {
            get { return _pressPosition; }
            set { SetProperty(ref _pressPosition, value); } // 假设 SetProperty 方法存在并支持float类型  
        }

        private float _pressForce;
        /// <summary>  
        /// 压机压力  
        /// </summary>  
        [DgColumnAttr("压机压力")]
        public float PressForce
        {
            get { return _pressForce; }
            set { SetProperty(ref _pressForce, value); } // 假设 SetProperty 方法存在并支持float类型  
        }
    }
}
